package com.codrim.cs.data.server.dao.mapper;

import com.codrim.cs.data.server.dao.entity.AbstractStatCsEntity;
import com.codrim.cs.data.server.dao.param.StatCsUniqueKey;

/**
 * @author Liang.Zhuge
 * @date 15/08/2017
 */
public interface StatCsMapper<T extends AbstractStatCsEntity, K extends StatCsUniqueKey> {

    T findByKey(K key, String zone, String timeDimesion);

    void updateById(T t, Integer id, String zone, String timeDimesion);

    void insert(T t, String zone, String timeDimesion);
}
